﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001107 RID: 4359
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectInclinationTextCsReq : IMessage<SelectInclinationTextCsReq>, IMessage, IEquatable<SelectInclinationTextCsReq>, IDeepCloneable<SelectInclinationTextCsReq>, IBufferMessage
	{
		// Token: 0x1700373D RID: 14141
		// (get) Token: 0x0600C315 RID: 49941 RVA: 0x0020FD70 File Offset: 0x0020DF70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectInclinationTextCsReq> Parser
		{
			get
			{
				return SelectInclinationTextCsReq._parser;
			}
		}

		// Token: 0x1700373E RID: 14142
		// (get) Token: 0x0600C316 RID: 49942 RVA: 0x0020FD77 File Offset: 0x0020DF77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectInclinationTextCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700373F RID: 14143
		// (get) Token: 0x0600C317 RID: 49943 RVA: 0x0020FD89 File Offset: 0x0020DF89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectInclinationTextCsReq.Descriptor;
			}
		}

		// Token: 0x0600C318 RID: 49944 RVA: 0x0020FD90 File Offset: 0x0020DF90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectInclinationTextCsReq()
		{
		}

		// Token: 0x0600C319 RID: 49945 RVA: 0x0020FD98 File Offset: 0x0020DF98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectInclinationTextCsReq(SelectInclinationTextCsReq other) : this()
		{
			this.talkSentenceId_ = other.talkSentenceId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C31A RID: 49946 RVA: 0x0020FDBD File Offset: 0x0020DFBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectInclinationTextCsReq Clone()
		{
			return new SelectInclinationTextCsReq(this);
		}

		// Token: 0x17003740 RID: 14144
		// (get) Token: 0x0600C31B RID: 49947 RVA: 0x0020FDC5 File Offset: 0x0020DFC5
		// (set) Token: 0x0600C31C RID: 49948 RVA: 0x0020FDCD File Offset: 0x0020DFCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TalkSentenceId
		{
			get
			{
				return this.talkSentenceId_;
			}
			set
			{
				this.talkSentenceId_ = value;
			}
		}

		// Token: 0x0600C31D RID: 49949 RVA: 0x0020FDD6 File Offset: 0x0020DFD6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectInclinationTextCsReq);
		}

		// Token: 0x0600C31E RID: 49950 RVA: 0x0020FDE4 File Offset: 0x0020DFE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectInclinationTextCsReq other)
		{
			return other != null && (other == this || (this.TalkSentenceId == other.TalkSentenceId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C31F RID: 49951 RVA: 0x0020FE14 File Offset: 0x0020E014
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TalkSentenceId != 0U)
			{
				num ^= this.TalkSentenceId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C320 RID: 49952 RVA: 0x0020FE53 File Offset: 0x0020E053
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C321 RID: 49953 RVA: 0x0020FE5B File Offset: 0x0020E05B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C322 RID: 49954 RVA: 0x0020FE64 File Offset: 0x0020E064
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TalkSentenceId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.TalkSentenceId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C323 RID: 49955 RVA: 0x0020FE98 File Offset: 0x0020E098
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TalkSentenceId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TalkSentenceId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C324 RID: 49956 RVA: 0x0020FED6 File Offset: 0x0020E0D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectInclinationTextCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TalkSentenceId != 0U)
			{
				this.TalkSentenceId = other.TalkSentenceId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C325 RID: 49957 RVA: 0x0020FF07 File Offset: 0x0020E107
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C326 RID: 49958 RVA: 0x0020FF10 File Offset: 0x0020E110
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.TalkSentenceId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004EC6 RID: 20166
		private static readonly MessageParser<SelectInclinationTextCsReq> _parser = new MessageParser<SelectInclinationTextCsReq>(() => new SelectInclinationTextCsReq());

		// Token: 0x04004EC7 RID: 20167
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004EC8 RID: 20168
		public const int TalkSentenceIdFieldNumber = 13;

		// Token: 0x04004EC9 RID: 20169
		private uint talkSentenceId_;
	}
}
